package com.lang3;

import java.util.Random;

import org.apache.commons.lang3.StringUtils;

public class Test {

	public static void main(String[] args) {
		String[] arr = new String[] {"abc","123","456"};
		
		
//		Arrays.stream(arr).filter( str -> {StringUtils.capitalize(str);return true;}).
		
		System.out.println(StringUtils.joinWith("---", arr));
		
		System.out.println( Character.toTitleCase("abc-def-ghi".charAt(0)));
		String ss = "";
		for (String string : StringUtils.split("abc-def-ghi", '-')) {
			ss += StringUtils.capitalize(string);
		}
		System.out.println(ss);
		
		Random random = new Random();
		System.out.println("ss" + random.nextInt(Integer.MAX_VALUE));
		
	}
}
